package com.example.demo.facade;

public class FacadeClient {
    BedRoomLight bedRoomLight = new BedRoomLight();
    HallRoomLight hallRoomLight = new HallRoomLight();
    LivingRoomLight livingRoomLight = new LivingRoomLight();
    public void lightOn(){
        bedRoomLight.on();
        hallRoomLight.on();
        livingRoomLight.on();
    }
    public void lightOff(){
        bedRoomLight.off();
        hallRoomLight.off();
        livingRoomLight.off();
    }
}
